package com.hzhr.iot.device;

import com.hzhr.iot.collect.CollectSdk;
import com.hzhr.iot.log.sdk.LogSdk;
import com.hzhr.iot.login.sdk.LoginSdk;
import com.hzhr.iot.queues.sdk.QueuesSdk;
import com.hzhr.iot.statis.sdk.StatisSdk;
import com.hzhr.iot.toll.sdk.TollSdk;
import com.hzhr.iot.user.sdk.UserSdk;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Import;
import org.springframework.web.client.RestTemplate;

@SpringCloudApplication
@EnableHystrix
@Import({UserSdk.class, LogSdk.class, LoginSdk.class, TollSdk.class, CollectSdk.class, StatisSdk.class, QueuesSdk.class})
public class DeviceApp {
    public static void main( String[] args ) {
        SpringApplication.run(DeviceApp.class, args);
    }
}
